import ViewUIPlus from 'view-ui-plus'
import dayjs from 'dayjs'
import * as keys from './iviewui/provider.keys.js'

export default {
  install: (app) => {
    app.provide(keys.Message, ViewUIPlus.Message)
    app.provide(keys.Modal, ViewUIPlus.Modal)
    app.provide(keys.ImagePreview, ViewUIPlus.ImagePreview)
    app.provide(keys.Copy, ViewUIPlus.Copy)
    app.provide(keys.DateUtil, dayjs)
  }
}
